<template>
  <div class="statistical-header">
    <div class="statistical-header-bar"></div>
    <div class="statistical-header-content">
      <span class="statistical-header-title">{{ title || meta.title || '' }}</span>
    </div>
  </div>
</template>
<script setup lang="ts">
defineProps<{
  title?: string
}>()
const { meta } = useRoute()
</script>
<style lang="scss" scoped>
.statistical-header {
  position: relative;
  display: flex;
  width: 100%;
  height: 90px;
  justify-content: center;

  .statistical-header-bar {
    width: 100%;
    height: 62px;
    background: #f1f8ff80;
    border: 1px solid #ffffff80;
    border-radius: 0 0 48px 48px;
    box-shadow: 0 12px 24px rgb(0 0 0 / 3%);
  }

  .statistical-header-content {
    position: absolute;
    top: 0;
    display: flex;
    width: 699px;
    height: 90px;
    background: #f1f8ff80;
    border: 1px solid #ffffff80;
    border-radius: 0 0 120px 120px;
    box-shadow: 0 12px 24px rgb(0 0 0 / 3%);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
  }

  .statistical-header-title {
    font-size: 36px;
    font-weight: 700;
    color: rgb(0 205 226 / 100%);
  }
}
</style>
